package com.yckj.day07;

/**
 * TODO
 *
 * @author shengyuee
 * @version 1.0
 * 2025/7/24 15:49
 */
public   class Dog2 {
    String name;
    String color;
    public void shout(){
        System.out.println("狗叫");
    }
    public final void eat(){ // 被final修饰的方法不能被重写

    }
}
